Views [dbo].[vSoaInvoiceLine]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created2:16:49 PM Wednesday, February 22, 2012
Last Modified2:16:49 PM Wednesday, February 22, 2012
Columns
Name
InvoiceLineId
InvoiceId
LineNumber
ItemId
ShipToPartyId
Quantity
UnitPrice
ExtendedAmount
PaymentAdjustmentAmount
PendingPaymentAdjustmentAmount
Balance
BILL_DATE
SQL Script

CREATE VIEW [dbo].[vSoaInvoiceLine]
AS

SELECT InvoiceLineId,
       InvoiceId,
       LineNumber,
       ItemId,
       ShipToPartyId,
       Quantity,
       UnitPrice,
       ExtendedAmount,
       PaymentAdjustmentAmount,
       PendingPaymentAdjustmentAmount,
       Balance,
       BILL_DATE
FROM vSoaInvoiceLineAR       

UNION ALL

SELECT InvoiceLineId,
       InvoiceId,
       LineNumber,
       ItemId,
       ShipToPartyId,
       Quantity,
       UnitPrice,
       ExtendedAmount,
       PaymentAdjustmentAmount,
       PendingPaymentAdjustmentAmount,
       Balance,
       BILL_DATE
FROM vSoaInvoiceLineCash


GO
Uses